package com.corpdata.app.contract.service;

import com.corpdata.app.contract.entity.ContractPartition;
import com.corpdata.common.result.Result;
import com.corpdata.core.base.BaseService;

/**
 * 合同工位关联
 * @author wu
 * @email 64088839@qq.com
 * @date 2018-07-04 11:12:41
 * 
 */
public interface ContractPartitionService extends BaseService<ContractPartition>{
	Result insert(ContractPartition record,String fkPartition,String type);
	//删除合同分区关联的同时删除合同与工位关联
	Result deleteByPartition(String id,String contractId);
	//添加合同分区关联（续签）
	void insertContractPartition(String contractId,String id);
	//删除临时数据
	void delTemporaryData();
}
